* lisp/hi-lock.el: Rework the default face and the serialize regexp code.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 6 Dec 2012 16:17:11 +0000 (11:17 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 6 Dec 2012 16:17:11 +0000 (11:17 -0500)
commita8ec22d3d20ec21ca5e27bce45124e90de3aa157
tree66947ea71188168d22d1a4e308066fad495fd737
parent496a239126773d008c0d742fa4dc7654bdf5b807
* lisp/hi-lock.el: Rework the default face and the serialize regexp code.
(hi-lock--auto-select-face-defaults): Remove.
(hi-lock-string-serialize-serial): Remove.
(hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
make weak.
(hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
equal string.
(hi-lock-set-pattern): Adjust accordingly.
(hi-lock--regexps-at-point): Simplify accordingly.
(hi-lock--auto-select-face-defaults): Remove.
(hi-lock--last-face): New var to replace it.
(hi-lock-read-face-name): Rewrite.
(hi-lock-unface-buffer): Arrange for the face to be the next default.
lisp/ChangeLog
lisp/hi-lock.el